home *** CD-ROM | disk | FTP | other *** search
- ; GlossTask install config-file for floppy users
- ; HÃ¥kan Parting 19 April 1998
-
- ; ** set system variables **
- (set cpu (database "cpu"))
- (if (= cpu 68000) (set #cpu 0))
- (if (= cpu 68010) (set #cpu 1))
- (if (= cpu 68020) (set #cpu 2))
- (if (= cpu 68030) (set #cpu 3))
- (if (= cpu 68040) (set #cpu 4))
- (if (> (exists ("sys:libs/68060.library")) 0) (set #cpu 5) )
-
- (working "Setting up installation. Please wait...")
- (run "copy s to ram:s ALL")
- (run "copy libs to ram:libs ALL")
- (complete 10)
-
- (welcome)
- (set cpuVal (askchoice (choices "68000" "68010" "68020" "68030"
- "68040" "68060"
- )
- (prompt "Please, select the processor your Amiga have")
- (help "Recommended is to leave it as default")
- (default #cpu)
- )
- )
-
- (working "Installing GlossTask.config-file")
- (copyfiles
- (prompt "Installing config-file to S: directory")
- (help @copyfiles-help)
- (source (cat "ram:s/GlossTask.config" ))
- (dest "S:")
- (confirm)
- )
-
- (complete 20)
- (if (> cpuVal 1) (
- (copylib (prompt #prompt_copy "\n\ngtlayout.library" )
- (help @copylib-help)
- (confirm "average")
- (source "ram:libs/gtlayout.library.020")
- (dest "LIBS:")
- (newname "gtlayout.library")
- (optional "oknodelete" "force")
- )
- ))
- (if (< cpuVal 2) (
- (copylib (prompt #prompt_copy "\n\ngtlayout.library" )
- (help @copylib-help)
- (confirm "average")
- (source "ram:libs/gtlayout.library.68k")
- (dest "LIBS:")
- (newname "gtlayout.library")
- (optional "oknodelete" "force")
- )))
- (complete 90)
- (working "Cleaning up..")
- (run "delete ram:s all")
- (complete 100)
- (exit)
-